import struct

#from other_idl import *

class iSocialUserSeqInfo :
	def __init__(self) :
		self.socialid = 0			# uint64
		self.userseq = 0			# uint32
		self.is_delete = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('Q', self.socialid)
		data += struct.pack('I', self.userseq)
		data += struct.pack('H', self.is_delete)
		return data
	def Load(self, buf) :
		self.socialid = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		self.userseq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.is_delete = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def iSocialUserSeqInfoInit() :
	return iSocialUserSeqInfo()
def iSocialUserSeqInfoStore(o) :
	return o.Store()
def iSocialUserSeqInfoLoad(buf) :
	val = iSocialUserSeqInfo()
	buf = val.Load(buf)
	return [val, buf]
class iGameUserSeqInfo :
	def __init__(self) :
		self.socialid = 0			# uint64
		self.userseq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('Q', self.socialid)
		data += struct.pack('I', self.userseq)
		return data
	def Load(self, buf) :
		self.socialid = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		self.userseq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def iGameUserSeqInfoInit() :
	return iGameUserSeqInfo()
def iGameUserSeqInfoStore(o) :
	return o.Store()
def iGameUserSeqInfoLoad(buf) :
	val = iGameUserSeqInfo()
	buf = val.Load(buf)
	return [val, buf]
class iSocialFriendInfo :
	def __init__(self) :
		self.userseq = 0			# uint32
		self.no_play_period = 0			# uint16
		self.is_connect_requested = 0			# uint16
		self.is_heart_sent = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.userseq)
		data += struct.pack('H', self.no_play_period)
		data += struct.pack('H', self.is_connect_requested)
		data += struct.pack('H', self.is_heart_sent)
		return data
	def Load(self, buf) :
		self.userseq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.no_play_period = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_connect_requested = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_heart_sent = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def iSocialFriendInfoInit() :
	return iSocialFriendInfo()
def iSocialFriendInfoStore(o) :
	return o.Store()
def iSocialFriendInfoLoad(buf) :
	val = iSocialFriendInfo()
	buf = val.Load(buf)
	return [val, buf]
class iGameFriendInfo :
	def __init__(self) :
		self.userseq = 0			# uint32
		self.nickname = ''			# string
		self.profile_url = ''			# string
		self.no_play_period = 0			# uint16
		self.is_connect_requested = 0			# uint16
		self.is_heart_sent = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.userseq)
		data += struct.pack('i', len(self.nickname))
		fmt = str(len(self.nickname)) + 's'
		data += struct.pack(fmt, self.nickname)
		data += struct.pack('i', len(self.profile_url))
		fmt = str(len(self.profile_url)) + 's'
		data += struct.pack(fmt, self.profile_url)
		data += struct.pack('H', self.no_play_period)
		data += struct.pack('H', self.is_connect_requested)
		data += struct.pack('H', self.is_heart_sent)
		return data
	def Load(self, buf) :
		self.userseq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.nickname = buf[0:str_length]; buf = buf[str_length:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.profile_url = buf[0:str_length]; buf = buf[str_length:]
		self.no_play_period = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_connect_requested = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_heart_sent = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def iGameFriendInfoInit() :
	return iGameFriendInfo()
def iGameFriendInfoStore(o) :
	return o.Store()
def iGameFriendInfoLoad(buf) :
	val = iGameFriendInfo()
	buf = val.Load(buf)
	return [val, buf]
class iRealTimeFriendInfo :
	def __init__(self) :
		self.userseq = 0			# uint32
		self.score = 0			# uint32
		self.is_connected = 0			# uint16
		self.buff_state = 0			# uint16
		self.heart_blocked = 0			# uint16
		self.invite_blocked = 0			# uint16
		self.profile_opend = 0			# uint16
		self.gender = 0			# uint16
		self.gender_open = 0			# uint16
		self.birthday = ''			# string
		self.birth_open = 0			# uint16
		self.server_id = 0			# uint16
		self.channel_id = 0			# uint16
		self.gold = 0			# uint16
		self.silver = 0			# uint16
		self.bronze = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.userseq)
		data += struct.pack('I', self.score)
		data += struct.pack('H', self.is_connected)
		data += struct.pack('H', self.buff_state)
		data += struct.pack('H', self.heart_blocked)
		data += struct.pack('H', self.invite_blocked)
		data += struct.pack('H', self.profile_opend)
		data += struct.pack('H', self.gender)
		data += struct.pack('H', self.gender_open)
		data += struct.pack('i', len(self.birthday))
		fmt = str(len(self.birthday)) + 's'
		data += struct.pack(fmt, self.birthday)
		data += struct.pack('H', self.birth_open)
		data += struct.pack('H', self.server_id)
		data += struct.pack('H', self.channel_id)
		data += struct.pack('H', self.gold)
		data += struct.pack('H', self.silver)
		data += struct.pack('H', self.bronze)
		return data
	def Load(self, buf) :
		self.userseq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.score = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.is_connected = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.buff_state = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.heart_blocked = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.invite_blocked = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.profile_opend = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.gender = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.gender_open = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.birthday = buf[0:str_length]; buf = buf[str_length:]
		self.birth_open = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.server_id = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.channel_id = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.gold = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.silver = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.bronze = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def iRealTimeFriendInfoInit() :
	return iRealTimeFriendInfo()
def iRealTimeFriendInfoStore(o) :
	return o.Store()
def iRealTimeFriendInfoLoad(buf) :
	val = iRealTimeFriendInfo()
	buf = val.Load(buf)
	return [val, buf]
class iNewsInfo :
	def __init__(self) :
		self.news_seq = 0			# uint64
		self.user_seq = 0			# uint32
		self.news_type = 0			# uint16
		self.heart_count = 0			# uint32
		self.nickname = ''			# string
		self.profile_url = ''			# string
	def Store(self) :
		data = ''
		data += struct.pack('Q', self.news_seq)
		data += struct.pack('I', self.user_seq)
		data += struct.pack('H', self.news_type)
		data += struct.pack('I', self.heart_count)
		data += struct.pack('i', len(self.nickname))
		fmt = str(len(self.nickname)) + 's'
		data += struct.pack(fmt, self.nickname)
		data += struct.pack('i', len(self.profile_url))
		fmt = str(len(self.profile_url)) + 's'
		data += struct.pack(fmt, self.profile_url)
		return data
	def Load(self, buf) :
		self.news_seq = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		self.user_seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.news_type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.nickname = buf[0:str_length]; buf = buf[str_length:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.profile_url = buf[0:str_length]; buf = buf[str_length:]
		return buf
def iNewsInfoInit() :
	return iNewsInfo()
def iNewsInfoStore(o) :
	return o.Store()
def iNewsInfoLoad(buf) :
	val = iNewsInfo()
	buf = val.Load(buf)
	return [val, buf]
class iPlayable :
	def __init__(self) :
		self.gid = 0			# uint32
		self.class_type = 0			# uint16
		self.is_playable = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.gid)
		data += struct.pack('H', self.class_type)
		data += struct.pack('H', self.is_playable)
		return data
	def Load(self, buf) :
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.class_type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_playable = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def iPlayableInit() :
	return iPlayable()
def iPlayableStore(o) :
	return o.Store()
def iPlayableLoad(buf) :
	val = iPlayable()
	buf = val.Load(buf)
	return [val, buf]
class iMessage :
	def __init__(self) :
		self.type = 0			# uint16
		self.msg = ''			# string
	def Store(self) :
		data = ''
		data += struct.pack('H', self.type)
		data += struct.pack('i', len(self.msg))
		fmt = str(len(self.msg)) + 's'
		data += struct.pack(fmt, self.msg)
		return data
	def Load(self, buf) :
		self.type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.msg = buf[0:str_length]; buf = buf[str_length:]
		return buf
def iMessageInit() :
	return iMessage()
def iMessageStore(o) :
	return o.Store()
def iMessageLoad(buf) :
	val = iMessage()
	buf = val.Load(buf)
	return [val, buf]
class iScore :
	def __init__(self) :
		self.gid = 0			# uint32
		self.score = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.gid)
		data += struct.pack('I', self.score)
		return data
	def Load(self, buf) :
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.score = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def iScoreInit() :
	return iScore()
def iScoreStore(o) :
	return o.Store()
def iScoreLoad(buf) :
	val = iScore()
	buf = val.Load(buf)
	return [val, buf]
class FriendsOpenAck :
	MSG_ID = 1
	def __init__(self) :
		pass
	def Store(self) :
		data = ''
		return data
	def Load(self, buf) :
		return buf
def FriendsOpenAckInit() :
	return FriendsOpenAck()
def FriendsOpenAckStore(o) :
	return o.Store()
def FriendsOpenAckLoad(buf) :
	val = FriendsOpenAck()
	buf = val.Load(buf)
	return [val, buf]
class FriendsCloseAck :
	MSG_ID = 2
	def __init__(self) :
		pass
	def Store(self) :
		data = ''
		return data
	def Load(self, buf) :
		return buf
def FriendsCloseAckInit() :
	return FriendsCloseAck()
def FriendsCloseAckStore(o) :
	return o.Store()
def FriendsCloseAckLoad(buf) :
	val = FriendsCloseAck()
	buf = val.Load(buf)
	return [val, buf]
class SocialFriendsSyn :
	MSG_ID = 5001
	def __init__(self) :
		self.seq = 0			# uint32
		self.userseq = []			# array
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('i', len(self.userseq))
		for v2 in self.userseq :
			data += struct.pack('I', v2)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		elmt_count = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		userseq = []
		for i in range(elmt_count) :
			v2 = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
			self.userseq.append(v2)
		return buf
def SocialFriendsSynInit() :
	return SocialFriendsSyn()
def SocialFriendsSynStore(o) :
	return o.Store()
def SocialFriendsSynLoad(buf) :
	val = SocialFriendsSyn()
	buf = val.Load(buf)
	return [val, buf]
class SocialFriendsAck :
	MSG_ID = 5002
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.array_Friends = []			# array
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('i', len(self.array_Friends))
		for v2 in self.array_Friends :
			data += iSocialFriendInfoStore(v2)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		elmt_count = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		array_Friends = []
		for i in range(elmt_count) :
			[v2, buf] = iSocialFriendInfoLoad(buf)
			self.array_Friends.append(v2)
		return buf
def SocialFriendsAckInit() :
	return SocialFriendsAck()
def SocialFriendsAckStore(o) :
	return o.Store()
def SocialFriendsAckLoad(buf) :
	val = SocialFriendsAck()
	buf = val.Load(buf)
	return [val, buf]
class GameFriendsSyn :
	MSG_ID = 5003
	def __init__(self) :
		self.seq = 0			# uint32
		self.userseq = []			# array
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('i', len(self.userseq))
		for v2 in self.userseq :
			data += struct.pack('I', v2)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		elmt_count = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		userseq = []
		for i in range(elmt_count) :
			v2 = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
			self.userseq.append(v2)
		return buf
def GameFriendsSynInit() :
	return GameFriendsSyn()
def GameFriendsSynStore(o) :
	return o.Store()
def GameFriendsSynLoad(buf) :
	val = GameFriendsSyn()
	buf = val.Load(buf)
	return [val, buf]
class GameFriendsAck :
	MSG_ID = 5004
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.array_Friends = []			# array
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('i', len(self.array_Friends))
		for v2 in self.array_Friends :
			data += iGameFriendInfoStore(v2)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		elmt_count = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		array_Friends = []
		for i in range(elmt_count) :
			[v2, buf] = iGameFriendInfoLoad(buf)
			self.array_Friends.append(v2)
		return buf
def GameFriendsAckInit() :
	return GameFriendsAck()
def GameFriendsAckStore(o) :
	return o.Store()
def GameFriendsAckLoad(buf) :
	val = GameFriendsAck()
	buf = val.Load(buf)
	return [val, buf]
class InviteNoAppSyn :
	MSG_ID = 5007
	def __init__(self) :
		self.seq = 0			# uint32
		self.user_id = ''			# string
		self.heart_count_max = 0			# uint32
		self.send_heart_count = 0			# uint16
		self.recv_heart_count = 0			# uint16
		self.msg_type = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('i', len(self.user_id))
		fmt = str(len(self.user_id)) + 's'
		data += struct.pack(fmt, self.user_id)
		data += struct.pack('I', self.heart_count_max)
		data += struct.pack('H', self.send_heart_count)
		data += struct.pack('H', self.recv_heart_count)
		data += struct.pack('H', self.msg_type)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.user_id = buf[0:str_length]; buf = buf[str_length:]
		self.heart_count_max = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.send_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.recv_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.msg_type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def InviteNoAppSynInit() :
	return InviteNoAppSyn()
def InviteNoAppSynStore(o) :
	return o.Store()
def InviteNoAppSynLoad(buf) :
	val = InviteNoAppSyn()
	buf = val.Load(buf)
	return [val, buf]
class InviteNoAppAck :
	MSG_ID = 5008
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint32
		self.invite_count = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.heart_count)
		data += struct.pack('H', self.invite_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.invite_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def InviteNoAppAckInit() :
	return InviteNoAppAck()
def InviteNoAppAckStore(o) :
	return o.Store()
def InviteNoAppAckLoad(buf) :
	val = InviteNoAppAck()
	buf = val.Load(buf)
	return [val, buf]
class NewsInfoSyn :
	MSG_ID = 5009
	def __init__(self) :
		self.seq = 0			# uint32
		self.page_num = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('H', self.page_num)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.page_num = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def NewsInfoSynInit() :
	return NewsInfoSyn()
def NewsInfoSynStore(o) :
	return o.Store()
def NewsInfoSynLoad(buf) :
	val = NewsInfoSyn()
	buf = val.Load(buf)
	return [val, buf]
class NewsInfoAck :
	MSG_ID = 5010
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.isLastPage = 0			# uint16
		self.array_News = []			# array
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('H', self.isLastPage)
		data += struct.pack('i', len(self.array_News))
		for v2 in self.array_News :
			data += iNewsInfoStore(v2)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.isLastPage = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		elmt_count = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		array_News = []
		for i in range(elmt_count) :
			[v2, buf] = iNewsInfoLoad(buf)
			self.array_News.append(v2)
		return buf
def NewsInfoAckInit() :
	return NewsInfoAck()
def NewsInfoAckStore(o) :
	return o.Store()
def NewsInfoAckLoad(buf) :
	val = NewsInfoAck()
	buf = val.Load(buf)
	return [val, buf]
class SimpleFriendsSyn :
	MSG_ID = 5011
	def __init__(self) :
		self.seq = 0			# uint32
		self.is_medal = 0			# uint16
		self.user_seq = []			# array
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('H', self.is_medal)
		data += struct.pack('i', len(self.user_seq))
		for v2 in self.user_seq :
			data += struct.pack('I', v2)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.is_medal = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		elmt_count = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		user_seq = []
		for i in range(elmt_count) :
			v2 = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
			self.user_seq.append(v2)
		return buf
def SimpleFriendsSynInit() :
	return SimpleFriendsSyn()
def SimpleFriendsSynStore(o) :
	return o.Store()
def SimpleFriendsSynLoad(buf) :
	val = SimpleFriendsSyn()
	buf = val.Load(buf)
	return [val, buf]
class SimpleFriendsAck :
	MSG_ID = 5012
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.is_medal = 0			# uint16
		self.array_Friends = []			# array
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('H', self.is_medal)
		data += struct.pack('i', len(self.array_Friends))
		for v2 in self.array_Friends :
			data += iRealTimeFriendInfoStore(v2)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.is_medal = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		elmt_count = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		array_Friends = []
		for i in range(elmt_count) :
			[v2, buf] = iRealTimeFriendInfoLoad(buf)
			self.array_Friends.append(v2)
		return buf
def SimpleFriendsAckInit() :
	return SimpleFriendsAck()
def SimpleFriendsAckStore(o) :
	return o.Store()
def SimpleFriendsAckLoad(buf) :
	val = SimpleFriendsAck()
	buf = val.Load(buf)
	return [val, buf]
class MainListSyn :
	MSG_ID = 5015
	def __init__(self) :
		self.seq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def MainListSynInit() :
	return MainListSyn()
def MainListSynStore(o) :
	return o.Store()
def MainListSynLoad(buf) :
	val = MainListSyn()
	buf = val.Load(buf)
	return [val, buf]
class MainListAck :
	MSG_ID = 5016
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint16
		self.my_ranking = 0			# int32
		self.last_week_friend_count = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('H', self.heart_count)
		data += struct.pack('i', self.my_ranking)
		data += struct.pack('I', self.last_week_friend_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.my_ranking = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.last_week_friend_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def MainListAckInit() :
	return MainListAck()
def MainListAckStore(o) :
	return o.Store()
def MainListAckLoad(buf) :
	val = MainListAck()
	buf = val.Load(buf)
	return [val, buf]
class UpdateProfileSyn :
	MSG_ID = 5019
	def __init__(self) :
		self.seq = 0			# uint32
		self.gender = 0			# uint16
		self.is_gender_open = 0			# uint16
		self.birthday = ''			# string
		self.is_birthday_open = 0			# uint16
		self.is_profile_open = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('H', self.gender)
		data += struct.pack('H', self.is_gender_open)
		data += struct.pack('i', len(self.birthday))
		fmt = str(len(self.birthday)) + 's'
		data += struct.pack(fmt, self.birthday)
		data += struct.pack('H', self.is_birthday_open)
		data += struct.pack('H', self.is_profile_open)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.gender = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_gender_open = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.birthday = buf[0:str_length]; buf = buf[str_length:]
		self.is_birthday_open = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_profile_open = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def UpdateProfileSynInit() :
	return UpdateProfileSyn()
def UpdateProfileSynStore(o) :
	return o.Store()
def UpdateProfileSynLoad(buf) :
	val = UpdateProfileSyn()
	buf = val.Load(buf)
	return [val, buf]
class UpdateProfileAck :
	MSG_ID = 5020
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.gender = 0			# uint16
		self.is_gender_open = 0			# uint16
		self.birthday = ''			# string
		self.is_birthday_open = 0			# uint16
		self.is_profile_open = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('H', self.gender)
		data += struct.pack('H', self.is_gender_open)
		data += struct.pack('i', len(self.birthday))
		fmt = str(len(self.birthday)) + 's'
		data += struct.pack(fmt, self.birthday)
		data += struct.pack('H', self.is_birthday_open)
		data += struct.pack('H', self.is_profile_open)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.gender = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_gender_open = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.birthday = buf[0:str_length]; buf = buf[str_length:]
		self.is_birthday_open = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_profile_open = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def UpdateProfileAckInit() :
	return UpdateProfileAck()
def UpdateProfileAckStore(o) :
	return o.Store()
def UpdateProfileAckLoad(buf) :
	val = UpdateProfileAck()
	buf = val.Load(buf)
	return [val, buf]
class UpdateStatusSyn :
	MSG_ID = 5025
	def __init__(self) :
		self.seq = 0			# uint32
		self.is_heart_block = 0			# uint16
		self.is_invite_block = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('H', self.is_heart_block)
		data += struct.pack('H', self.is_invite_block)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.is_heart_block = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_invite_block = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def UpdateStatusSynInit() :
	return UpdateStatusSyn()
def UpdateStatusSynStore(o) :
	return o.Store()
def UpdateStatusSynLoad(buf) :
	val = UpdateStatusSyn()
	buf = val.Load(buf)
	return [val, buf]
class UpdateStatusAck :
	MSG_ID = 5026
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.is_heart_block = 0			# uint16
		self.is_invite_block = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('H', self.is_heart_block)
		data += struct.pack('H', self.is_invite_block)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.is_heart_block = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.is_invite_block = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def UpdateStatusAckInit() :
	return UpdateStatusAck()
def UpdateStatusAckStore(o) :
	return o.Store()
def UpdateStatusAckLoad(buf) :
	val = UpdateStatusAck()
	buf = val.Load(buf)
	return [val, buf]
class SendHeartSyn :
	MSG_ID = 5027
	def __init__(self) :
		self.seq = 0			# uint32
		self.gid = 0			# uint32
		self.heart_count = 0			# uint32
		self.is_push = 0			# uint16
		self.heart_count_max = 0			# uint32
		self.send_heart_count = 0			# uint16
		self.recv_heart_count = 0			# uint16
		self.msg_type = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.gid)
		data += struct.pack('I', self.heart_count)
		data += struct.pack('H', self.is_push)
		data += struct.pack('I', self.heart_count_max)
		data += struct.pack('H', self.send_heart_count)
		data += struct.pack('H', self.recv_heart_count)
		data += struct.pack('H', self.msg_type)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.is_push = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.heart_count_max = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.send_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.recv_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.msg_type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def SendHeartSynInit() :
	return SendHeartSyn()
def SendHeartSynStore(o) :
	return o.Store()
def SendHeartSynLoad(buf) :
	val = SendHeartSyn()
	buf = val.Load(buf)
	return [val, buf]
class SendHeartAck :
	MSG_ID = 5028
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.heart_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def SendHeartAckInit() :
	return SendHeartAck()
def SendHeartAckStore(o) :
	return o.Store()
def SendHeartAckLoad(buf) :
	val = SendHeartAck()
	buf = val.Load(buf)
	return [val, buf]
class RecommendSyn :
	MSG_ID = 5029
	def __init__(self) :
		self.seq = 0			# uint32
		self.gid = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.gid)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def RecommendSynInit() :
	return RecommendSyn()
def RecommendSynStore(o) :
	return o.Store()
def RecommendSynLoad(buf) :
	val = RecommendSyn()
	buf = val.Load(buf)
	return [val, buf]
class RecommendAck :
	MSG_ID = 5030
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.gid = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.gid)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def RecommendAckInit() :
	return RecommendAck()
def RecommendAckStore(o) :
	return o.Store()
def RecommendAckLoad(buf) :
	val = RecommendAck()
	buf = val.Load(buf)
	return [val, buf]
class BoastSyn :
	MSG_ID = 5033
	def __init__(self) :
		self.seq = 0			# uint32
		self.gid = 0			# uint32
		self.type = 0			# uint16
		self.param = 0			# uint32
		self.subparam = 0			# uint32
		self.heart_count_max = 0			# uint32
		self.send_heart_count = 0			# uint16
		self.recv_heart_count = 0			# uint16
		self.msg_type = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.gid)
		data += struct.pack('H', self.type)
		data += struct.pack('I', self.param)
		data += struct.pack('I', self.subparam)
		data += struct.pack('I', self.heart_count_max)
		data += struct.pack('H', self.send_heart_count)
		data += struct.pack('H', self.recv_heart_count)
		data += struct.pack('H', self.msg_type)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.param = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.subparam = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_count_max = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.send_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.recv_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.msg_type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def BoastSynInit() :
	return BoastSyn()
def BoastSynStore(o) :
	return o.Store()
def BoastSynLoad(buf) :
	val = BoastSyn()
	buf = val.Load(buf)
	return [val, buf]
class BoastAck :
	MSG_ID = 5034
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.heart_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def BoastAckInit() :
	return BoastAck()
def BoastAckStore(o) :
	return o.Store()
def BoastAckLoad(buf) :
	val = BoastAck()
	buf = val.Load(buf)
	return [val, buf]
class UseBuffSyn :
	MSG_ID = 5035
	def __init__(self) :
		self.seq = 0			# uint32
		self.gid = 0			# uint32
		self.buff_time = 0			# uint32
		self.heart_count_max = 0			# uint32
		self.send_heart_count = 0			# uint16
		self.recv_heart_count = 0			# uint16
		self.msg_type = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.gid)
		data += struct.pack('I', self.buff_time)
		data += struct.pack('I', self.heart_count_max)
		data += struct.pack('H', self.send_heart_count)
		data += struct.pack('H', self.recv_heart_count)
		data += struct.pack('H', self.msg_type)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.buff_time = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_count_max = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.send_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.recv_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.msg_type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def UseBuffSynInit() :
	return UseBuffSyn()
def UseBuffSynStore(o) :
	return o.Store()
def UseBuffSynLoad(buf) :
	val = UseBuffSyn()
	buf = val.Load(buf)
	return [val, buf]
class UseBuffAck :
	MSG_ID = 5036
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.buff_time = 0			# uint32
		self.heart_count = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.buff_time)
		data += struct.pack('I', self.heart_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.buff_time = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def UseBuffAckInit() :
	return UseBuffAck()
def UseBuffAckStore(o) :
	return o.Store()
def UseBuffAckLoad(buf) :
	val = UseBuffAck()
	buf = val.Load(buf)
	return [val, buf]
class GameFriendSyn :
	MSG_ID = 5039
	def __init__(self) :
		self.seq = 0			# uint32
		self.gid = 0			# uint32
		self.heart_count_max = 0			# uint32
		self.send_heart_count = 0			# uint16
		self.recv_heart_count = 0			# uint16
		self.msg_type = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.gid)
		data += struct.pack('I', self.heart_count_max)
		data += struct.pack('H', self.send_heart_count)
		data += struct.pack('H', self.recv_heart_count)
		data += struct.pack('H', self.msg_type)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_count_max = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.send_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.recv_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.msg_type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def GameFriendSynInit() :
	return GameFriendSyn()
def GameFriendSynStore(o) :
	return o.Store()
def GameFriendSynLoad(buf) :
	val = GameFriendSyn()
	buf = val.Load(buf)
	return [val, buf]
class GameFriendAck :
	MSG_ID = 5040
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.heart_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def GameFriendAckInit() :
	return GameFriendAck()
def GameFriendAckStore(o) :
	return o.Store()
def GameFriendAckLoad(buf) :
	val = GameFriendAck()
	buf = val.Load(buf)
	return [val, buf]
class ConfirmFriendSyn :
	MSG_ID = 5041
	def __init__(self) :
		self.seq = 0			# uint32
		self.news_seq = 0			# uint64
		self.gid = 0			# uint32
		self.is_accept = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('Q', self.news_seq)
		data += struct.pack('I', self.gid)
		data += struct.pack('H', self.is_accept)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.news_seq = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.is_accept = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def ConfirmFriendSynInit() :
	return ConfirmFriendSyn()
def ConfirmFriendSynStore(o) :
	return o.Store()
def ConfirmFriendSynLoad(buf) :
	val = ConfirmFriendSyn()
	buf = val.Load(buf)
	return [val, buf]
class ConfirmFriendAck :
	MSG_ID = 5042
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.news_seq = 0			# uint64
		self.gid = 0			# uint32
		self.is_accept = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('Q', self.news_seq)
		data += struct.pack('I', self.gid)
		data += struct.pack('H', self.is_accept)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.news_seq = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.is_accept = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def ConfirmFriendAckInit() :
	return ConfirmFriendAck()
def ConfirmFriendAckStore(o) :
	return o.Store()
def ConfirmFriendAckLoad(buf) :
	val = ConfirmFriendAck()
	buf = val.Load(buf)
	return [val, buf]
class RequestConnectSyn :
	MSG_ID = 5045
	def __init__(self) :
		self.seq = 0			# uint32
		self.gid = 0			# uint32
		self.heart_count_max = 0			# uint32
		self.sleeping_user_checking_day_const = 0			# uint16
		self.sleeping_user_invite_heart_point_reward = 0			# uint16
		self.sleeping_user_invite_heart_point_reward_max = 0			# uint16
		self.sleeping_user_be_invited_heart_point_reward = 0			# uint16
		self.sleeping_user_be_invited_heart_point_reward_max = 0			# uint16
		self.msg_type = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.gid)
		data += struct.pack('I', self.heart_count_max)
		data += struct.pack('H', self.sleeping_user_checking_day_const)
		data += struct.pack('H', self.sleeping_user_invite_heart_point_reward)
		data += struct.pack('H', self.sleeping_user_invite_heart_point_reward_max)
		data += struct.pack('H', self.sleeping_user_be_invited_heart_point_reward)
		data += struct.pack('H', self.sleeping_user_be_invited_heart_point_reward_max)
		data += struct.pack('H', self.msg_type)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_count_max = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.sleeping_user_checking_day_const = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.sleeping_user_invite_heart_point_reward = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.sleeping_user_invite_heart_point_reward_max = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.sleeping_user_be_invited_heart_point_reward = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.sleeping_user_be_invited_heart_point_reward_max = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.msg_type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def RequestConnectSynInit() :
	return RequestConnectSyn()
def RequestConnectSynStore(o) :
	return o.Store()
def RequestConnectSynLoad(buf) :
	val = RequestConnectSyn()
	buf = val.Load(buf)
	return [val, buf]
class RequestConnectAck :
	MSG_ID = 5046
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.heart_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def RequestConnectAckInit() :
	return RequestConnectAck()
def RequestConnectAckStore(o) :
	return o.Store()
def RequestConnectAckLoad(buf) :
	val = RequestConnectAck()
	buf = val.Load(buf)
	return [val, buf]
class ConfirmNewsSyn :
	MSG_ID = 5047
	def __init__(self) :
		self.seq = 0			# uint32
		self.type = 0			# uint16
		self.news_seq = 0			# uint64
		self.gid = 0			# uint32
		self.heart_count_max = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('H', self.type)
		data += struct.pack('Q', self.news_seq)
		data += struct.pack('I', self.gid)
		data += struct.pack('I', self.heart_count_max)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.news_seq = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_count_max = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def ConfirmNewsSynInit() :
	return ConfirmNewsSyn()
def ConfirmNewsSynStore(o) :
	return o.Store()
def ConfirmNewsSynLoad(buf) :
	val = ConfirmNewsSyn()
	buf = val.Load(buf)
	return [val, buf]
class ConfirmNewsAck :
	MSG_ID = 5048
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint32
		self.news_seq = 0			# uint64
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.heart_count)
		data += struct.pack('Q', self.news_seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.news_seq = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		return buf
def ConfirmNewsAckInit() :
	return ConfirmNewsAck()
def ConfirmNewsAckStore(o) :
	return o.Store()
def ConfirmNewsAckLoad(buf) :
	val = ConfirmNewsAck()
	buf = val.Load(buf)
	return [val, buf]
class DeleteFriendSyn :
	MSG_ID = 5049
	def __init__(self) :
		self.seq = 0			# uint32
		self.gid = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.gid)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def DeleteFriendSynInit() :
	return DeleteFriendSyn()
def DeleteFriendSynStore(o) :
	return o.Store()
def DeleteFriendSynLoad(buf) :
	val = DeleteFriendSyn()
	buf = val.Load(buf)
	return [val, buf]
class DeleteFriendAck :
	MSG_ID = 5050
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.gid = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.gid)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def DeleteFriendAckInit() :
	return DeleteFriendAck()
def DeleteFriendAckStore(o) :
	return o.Store()
def DeleteFriendAckLoad(buf) :
	val = DeleteFriendAck()
	buf = val.Load(buf)
	return [val, buf]
class SocialUserSeqSyn :
	MSG_ID = 5051
	def __init__(self) :
		self.seq = 0			# uint32
		self.array_social_id = []			# array
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('i', len(self.array_social_id))
		for v2 in self.array_social_id :
			data += struct.pack('Q', v2)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		elmt_count = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		array_social_id = []
		for i in range(elmt_count) :
			v2 = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
			self.array_social_id.append(v2)
		return buf
def SocialUserSeqSynInit() :
	return SocialUserSeqSyn()
def SocialUserSeqSynStore(o) :
	return o.Store()
def SocialUserSeqSynLoad(buf) :
	val = SocialUserSeqSyn()
	buf = val.Load(buf)
	return [val, buf]
class SocialUserSeqAck :
	MSG_ID = 5052
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# uint16
		self.array_social_userseq_info = []			# array
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('H', self.result)
		data += struct.pack('i', len(self.array_social_userseq_info))
		for v2 in self.array_social_userseq_info :
			data += iSocialUserSeqInfoStore(v2)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		elmt_count = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		array_social_userseq_info = []
		for i in range(elmt_count) :
			[v2, buf] = iSocialUserSeqInfoLoad(buf)
			self.array_social_userseq_info.append(v2)
		return buf
def SocialUserSeqAckInit() :
	return SocialUserSeqAck()
def SocialUserSeqAckStore(o) :
	return o.Store()
def SocialUserSeqAckLoad(buf) :
	val = SocialUserSeqAck()
	buf = val.Load(buf)
	return [val, buf]
class GameUserSeqSyn :
	MSG_ID = 5053
	def __init__(self) :
		self.seq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def GameUserSeqSynInit() :
	return GameUserSeqSyn()
def GameUserSeqSynStore(o) :
	return o.Store()
def GameUserSeqSynLoad(buf) :
	val = GameUserSeqSyn()
	buf = val.Load(buf)
	return [val, buf]
class GameUserSeqAck :
	MSG_ID = 5054
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# uint16
		self.array_game_userseq_info = []			# array
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('H', self.result)
		data += struct.pack('i', len(self.array_game_userseq_info))
		for v2 in self.array_game_userseq_info :
			data += iGameUserSeqInfoStore(v2)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		elmt_count = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		array_game_userseq_info = []
		for i in range(elmt_count) :
			[v2, buf] = iGameUserSeqInfoLoad(buf)
			self.array_game_userseq_info.append(v2)
		return buf
def GameUserSeqAckInit() :
	return GameUserSeqAck()
def GameUserSeqAckStore(o) :
	return o.Store()
def GameUserSeqAckLoad(buf) :
	val = GameUserSeqAck()
	buf = val.Load(buf)
	return [val, buf]
class SocialMyInfoSyn :
	MSG_ID = 5055
	def __init__(self) :
		self.seq = 0			# uint32
		self.socialid = 0			# uint64
		self.nickname = ''			# string
		self.profile_url = ''			# string
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('Q', self.socialid)
		data += struct.pack('i', len(self.nickname))
		fmt = str(len(self.nickname)) + 's'
		data += struct.pack(fmt, self.nickname)
		data += struct.pack('i', len(self.profile_url))
		fmt = str(len(self.profile_url)) + 's'
		data += struct.pack(fmt, self.profile_url)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.socialid = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.nickname = buf[0:str_length]; buf = buf[str_length:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.profile_url = buf[0:str_length]; buf = buf[str_length:]
		return buf
def SocialMyInfoSynInit() :
	return SocialMyInfoSyn()
def SocialMyInfoSynStore(o) :
	return o.Store()
def SocialMyInfoSynLoad(buf) :
	val = SocialMyInfoSyn()
	buf = val.Load(buf)
	return [val, buf]
class SocialMyInfoAck :
	MSG_ID = 5056
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint32
		self.heart_blocked = 0			# uint16
		self.profile_opened = 0			# uint16
		self.invite_block = 0			# uint16
		self.gender = 0			# uint16
		self.gender_open = 0			# uint16
		self.birthday = ''			# string
		self.birth_open = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.heart_count)
		data += struct.pack('H', self.heart_blocked)
		data += struct.pack('H', self.profile_opened)
		data += struct.pack('H', self.invite_block)
		data += struct.pack('H', self.gender)
		data += struct.pack('H', self.gender_open)
		data += struct.pack('i', len(self.birthday))
		fmt = str(len(self.birthday)) + 's'
		data += struct.pack(fmt, self.birthday)
		data += struct.pack('H', self.birth_open)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_blocked = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.profile_opened = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.invite_block = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.gender = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.gender_open = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		str_length = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.birthday = buf[0:str_length]; buf = buf[str_length:]
		self.birth_open = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def SocialMyInfoAckInit() :
	return SocialMyInfoAck()
def SocialMyInfoAckStore(o) :
	return o.Store()
def SocialMyInfoAckLoad(buf) :
	val = SocialMyInfoAck()
	buf = val.Load(buf)
	return [val, buf]
class FriendTypeModifySyn :
	MSG_ID = 5057
	def __init__(self) :
		self.seq = 0			# uint32
		self.socialid = 0			# uint64
		self.gid = 0			# uint32
		self.type = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('Q', self.socialid)
		data += struct.pack('I', self.gid)
		data += struct.pack('I', self.type)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.socialid = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.type = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def FriendTypeModifySynInit() :
	return FriendTypeModifySyn()
def FriendTypeModifySynStore(o) :
	return o.Store()
def FriendTypeModifySynLoad(buf) :
	val = FriendTypeModifySyn()
	buf = val.Load(buf)
	return [val, buf]
class FlushFRUserInfoSyn :
	MSG_ID = 5058
	def __init__(self) :
		self.seq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def FlushFRUserInfoSynInit() :
	return FlushFRUserInfoSyn()
def FlushFRUserInfoSynStore(o) :
	return o.Store()
def FlushFRUserInfoSynLoad(buf) :
	val = FlushFRUserInfoSyn()
	buf = val.Load(buf)
	return [val, buf]
class FlushFRUserInfoAck :
	MSG_ID = 5059
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		return buf
def FlushFRUserInfoAckInit() :
	return FlushFRUserInfoAck()
def FlushFRUserInfoAckStore(o) :
	return o.Store()
def FlushFRUserInfoAckLoad(buf) :
	val = FlushFRUserInfoAck()
	buf = val.Load(buf)
	return [val, buf]
class RemoveFRUserSyn :
	MSG_ID = 5062
	def __init__(self) :
		self.seq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def RemoveFRUserSynInit() :
	return RemoveFRUserSyn()
def RemoveFRUserSynStore(o) :
	return o.Store()
def RemoveFRUserSynLoad(buf) :
	val = RemoveFRUserSyn()
	buf = val.Load(buf)
	return [val, buf]
class RemoveFRUserAck :
	MSG_ID = 5063
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		return buf
def RemoveFRUserAckInit() :
	return RemoveFRUserAck()
def RemoveFRUserAckStore(o) :
	return o.Store()
def RemoveFRUserAckLoad(buf) :
	val = RemoveFRUserAck()
	buf = val.Load(buf)
	return [val, buf]
class NewsCountSyn :
	MSG_ID = 5064
	def __init__(self) :
		self.seq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def NewsCountSynInit() :
	return NewsCountSyn()
def NewsCountSynStore(o) :
	return o.Store()
def NewsCountSynLoad(buf) :
	val = NewsCountSyn()
	buf = val.Load(buf)
	return [val, buf]
class NewsCountAck :
	MSG_ID = 5065
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.news_count = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('H', self.news_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.news_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def NewsCountAckInit() :
	return NewsCountAck()
def NewsCountAckStore(o) :
	return o.Store()
def NewsCountAckLoad(buf) :
	val = NewsCountAck()
	buf = val.Load(buf)
	return [val, buf]
class AllowFriendSyn :
	MSG_ID = 5066
	def __init__(self) :
		self.seq = 0			# uint32
		self.userseq = 0			# uint32
		self.msgid = 0			# uint32
		self.dummy = 0			# uint64
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.userseq)
		data += struct.pack('I', self.msgid)
		data += struct.pack('Q', self.dummy)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.userseq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.msgid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.dummy = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		return buf
def AllowFriendSynInit() :
	return AllowFriendSyn()
def AllowFriendSynStore(o) :
	return o.Store()
def AllowFriendSynLoad(buf) :
	val = AllowFriendSyn()
	buf = val.Load(buf)
	return [val, buf]
class AllowFriendAck :
	MSG_ID = 5067
	def __init__(self) :
		self.seq = 0			# uint32
		self.userseq = 0			# uint32
		self.result = 0			# int16
		self.is_allow = 0			# uint16
		self.msgid = 0			# uint32
		self.dummy = 0			# uint64
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.userseq)
		data += struct.pack('h', self.result)
		data += struct.pack('H', self.is_allow)
		data += struct.pack('I', self.msgid)
		data += struct.pack('Q', self.dummy)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.userseq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.is_allow = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.msgid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.dummy = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		return buf
def AllowFriendAckInit() :
	return AllowFriendAck()
def AllowFriendAckStore(o) :
	return o.Store()
def AllowFriendAckLoad(buf) :
	val = AllowFriendAck()
	buf = val.Load(buf)
	return [val, buf]
class InviteBlockSyn :
	MSG_ID = 5068
	def __init__(self) :
		self.seq = 0			# uint32
		self.invite_block = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('H', self.invite_block)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.invite_block = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def InviteBlockSynInit() :
	return InviteBlockSyn()
def InviteBlockSynStore(o) :
	return o.Store()
def InviteBlockSynLoad(buf) :
	val = InviteBlockSyn()
	buf = val.Load(buf)
	return [val, buf]
class InviteBlockAck :
	MSG_ID = 5069
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.invite_block = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('H', self.invite_block)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.invite_block = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def InviteBlockAckInit() :
	return InviteBlockAck()
def InviteBlockAckStore(o) :
	return o.Store()
def InviteBlockAckLoad(buf) :
	val = InviteBlockAck()
	buf = val.Load(buf)
	return [val, buf]
class FriendShipBlockSyn :
	MSG_ID = 5070
	def __init__(self) :
		self.seq = 0			# uint32
		self.heart_block = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('H', self.heart_block)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_block = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def FriendShipBlockSynInit() :
	return FriendShipBlockSyn()
def FriendShipBlockSynStore(o) :
	return o.Store()
def FriendShipBlockSynLoad(buf) :
	val = FriendShipBlockSyn()
	buf = val.Load(buf)
	return [val, buf]
class FriendShipBlockAck :
	MSG_ID = 5071
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_block = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('H', self.heart_block)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_block = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def FriendShipBlockAckInit() :
	return FriendShipBlockAck()
def FriendShipBlockAckStore(o) :
	return o.Store()
def FriendShipBlockAckLoad(buf) :
	val = FriendShipBlockAck()
	buf = val.Load(buf)
	return [val, buf]
class InviteCountSyn :
	MSG_ID = 5072
	def __init__(self) :
		self.seq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def InviteCountSynInit() :
	return InviteCountSyn()
def InviteCountSynStore(o) :
	return o.Store()
def InviteCountSynLoad(buf) :
	val = InviteCountSyn()
	buf = val.Load(buf)
	return [val, buf]
class InviteCountAck :
	MSG_ID = 5073
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.invite_count = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('H', self.invite_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.invite_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def InviteCountAckInit() :
	return InviteCountAck()
def InviteCountAckStore(o) :
	return o.Store()
def InviteCountAckLoad(buf) :
	val = InviteCountAck()
	buf = val.Load(buf)
	return [val, buf]
class GachyaBoxSyn :
	MSG_ID = 5076
	def __init__(self) :
		self.seq = 0			# uint32
		self.box_open_point = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.box_open_point)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.box_open_point = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def GachyaBoxSynInit() :
	return GachyaBoxSyn()
def GachyaBoxSynStore(o) :
	return o.Store()
def GachyaBoxSynLoad(buf) :
	val = GachyaBoxSyn()
	buf = val.Load(buf)
	return [val, buf]
class GachyaBoxAck :
	MSG_ID = 5077
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.heart_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def GachyaBoxAckInit() :
	return GachyaBoxAck()
def GachyaBoxAckStore(o) :
	return o.Store()
def GachyaBoxAckLoad(buf) :
	val = GachyaBoxAck()
	buf = val.Load(buf)
	return [val, buf]
class LastWeekRankInfoSyn :
	MSG_ID = 5078
	def __init__(self) :
		self.seq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def LastWeekRankInfoSynInit() :
	return LastWeekRankInfoSyn()
def LastWeekRankInfoSynStore(o) :
	return o.Store()
def LastWeekRankInfoSynLoad(buf) :
	val = LastWeekRankInfoSyn()
	buf = val.Load(buf)
	return [val, buf]
class LastWeekRankInfoAck :
	MSG_ID = 5079
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.my_ranking = 0			# int32
		self.this_week_friend_count = 0			# uint16
		self.last_week_friend_count = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('i', self.my_ranking)
		data += struct.pack('H', self.this_week_friend_count)
		data += struct.pack('H', self.last_week_friend_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.my_ranking = struct.unpack('i', buf[0:4])[0]; buf = buf[4:]
		self.this_week_friend_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.last_week_friend_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def LastWeekRankInfoAckInit() :
	return LastWeekRankInfoAck()
def LastWeekRankInfoAckStore(o) :
	return o.Store()
def LastWeekRankInfoAckLoad(buf) :
	val = LastWeekRankInfoAck()
	buf = val.Load(buf)
	return [val, buf]
class AddHeartCountSyn :
	MSG_ID = 5080
	def __init__(self) :
		self.seq = 0			# uint32
		self.msgid = 0			# uint32
		self.heart_count_max = 0			# uint32
		self.get_heart_count = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.msgid)
		data += struct.pack('I', self.heart_count_max)
		data += struct.pack('H', self.get_heart_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.msgid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_count_max = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.get_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def AddHeartCountSynInit() :
	return AddHeartCountSyn()
def AddHeartCountSynStore(o) :
	return o.Store()
def AddHeartCountSynLoad(buf) :
	val = AddHeartCountSyn()
	buf = val.Load(buf)
	return [val, buf]
class AddHeartCountAck :
	MSG_ID = 5081
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.msgid = 0			# uint32
		self.heart_count = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.msgid)
		data += struct.pack('I', self.heart_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.msgid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def AddHeartCountAckInit() :
	return AddHeartCountAck()
def AddHeartCountAckStore(o) :
	return o.Store()
def AddHeartCountAckLoad(buf) :
	val = AddHeartCountAck()
	buf = val.Load(buf)
	return [val, buf]
class GetHeartCountSyn :
	MSG_ID = 5082
	def __init__(self) :
		self.seq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def GetHeartCountSynInit() :
	return GetHeartCountSyn()
def GetHeartCountSynStore(o) :
	return o.Store()
def GetHeartCountSynLoad(buf) :
	val = GetHeartCountSyn()
	buf = val.Load(buf)
	return [val, buf]
class GetHeartCountAck :
	MSG_ID = 5083
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.heart_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def GetHeartCountAckInit() :
	return GetHeartCountAck()
def GetHeartCountAckStore(o) :
	return o.Store()
def GetHeartCountAckLoad(buf) :
	val = GetHeartCountAck()
	buf = val.Load(buf)
	return [val, buf]
class FriendKillTimerSyn :
	MSG_ID = 5086
	def __init__(self) :
		self.seq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def FriendKillTimerSynInit() :
	return FriendKillTimerSyn()
def FriendKillTimerSynStore(o) :
	return o.Store()
def FriendKillTimerSynLoad(buf) :
	val = FriendKillTimerSyn()
	buf = val.Load(buf)
	return [val, buf]
class FriendKillTimerAck :
	MSG_ID = 5087
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		return buf
def FriendKillTimerAckInit() :
	return FriendKillTimerAck()
def FriendKillTimerAckStore(o) :
	return o.Store()
def FriendKillTimerAckLoad(buf) :
	val = FriendKillTimerAck()
	buf = val.Load(buf)
	return [val, buf]
class SendStaminaSyn :
	MSG_ID = 5088
	def __init__(self) :
		self.seq = 0			# uint32
		self.gid = 0			# uint32
		self.is_push = 0			# uint16
		self.send_heart_count = 0			# uint16
		self.send_stamina_count = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.gid)
		data += struct.pack('H', self.is_push)
		data += struct.pack('H', self.send_heart_count)
		data += struct.pack('H', self.send_stamina_count)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.is_push = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.send_heart_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.send_stamina_count = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def SendStaminaSynInit() :
	return SendStaminaSyn()
def SendStaminaSynStore(o) :
	return o.Store()
def SendStaminaSynLoad(buf) :
	val = SendStaminaSyn()
	buf = val.Load(buf)
	return [val, buf]
class SendStaminaAck :
	MSG_ID = 5089
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		return buf
def SendStaminaAckInit() :
	return SendStaminaAck()
def SendStaminaAckStore(o) :
	return o.Store()
def SendStaminaAckLoad(buf) :
	val = SendStaminaAck()
	buf = val.Load(buf)
	return [val, buf]
class ConfirmNewsV2Syn :
	MSG_ID = 5090
	def __init__(self) :
		self.seq = 0			# uint32
		self.gid = 0			# uint32
		self.confirm_type = 0			# uint16
		self.news_seq = 0			# uint64
		self.news_type = 0			# uint16
		self.max_heart = 0			# uint16
		self.max_stamina = 0			# uint16
		self.cur_stamina = 0			# uint16
		self.remain_recv_stamina = 0			# uint16
		self.max_recv_stamina = 0			# uint16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('I', self.gid)
		data += struct.pack('H', self.confirm_type)
		data += struct.pack('Q', self.news_seq)
		data += struct.pack('H', self.news_type)
		data += struct.pack('H', self.max_heart)
		data += struct.pack('H', self.max_stamina)
		data += struct.pack('H', self.cur_stamina)
		data += struct.pack('H', self.remain_recv_stamina)
		data += struct.pack('H', self.max_recv_stamina)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.gid = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.confirm_type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.news_seq = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		self.news_type = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.max_heart = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.max_stamina = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.cur_stamina = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.remain_recv_stamina = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		self.max_recv_stamina = struct.unpack('H', buf[0:2])[0]; buf = buf[2:]
		return buf
def ConfirmNewsV2SynInit() :
	return ConfirmNewsV2Syn()
def ConfirmNewsV2SynStore(o) :
	return o.Store()
def ConfirmNewsV2SynLoad(buf) :
	val = ConfirmNewsV2Syn()
	buf = val.Load(buf)
	return [val, buf]
class ConfirmNewsV2Ack :
	MSG_ID = 5091
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
		self.heart_count = 0			# uint32
		self.charge_stamina_count = 0			# uint32
		self.news_seq = 0			# uint64
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		data += struct.pack('I', self.heart_count)
		data += struct.pack('I', self.charge_stamina_count)
		data += struct.pack('Q', self.news_seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		self.heart_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.charge_stamina_count = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.news_seq = struct.unpack('Q', buf[0:8])[0]; buf = buf[8:]
		return buf
def ConfirmNewsV2AckInit() :
	return ConfirmNewsV2Ack()
def ConfirmNewsV2AckStore(o) :
	return o.Store()
def ConfirmNewsV2AckLoad(buf) :
	val = ConfirmNewsV2Ack()
	buf = val.Load(buf)
	return [val, buf]
class UnregisterSyn :
	MSG_ID = 5092
	def __init__(self) :
		self.seq = 0			# uint32
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		return buf
def UnregisterSynInit() :
	return UnregisterSyn()
def UnregisterSynStore(o) :
	return o.Store()
def UnregisterSynLoad(buf) :
	val = UnregisterSyn()
	buf = val.Load(buf)
	return [val, buf]
class UnregisterAck :
	MSG_ID = 5093
	def __init__(self) :
		self.seq = 0			# uint32
		self.result = 0			# int16
	def Store(self) :
		data = ''
		data += struct.pack('I', self.seq)
		data += struct.pack('h', self.result)
		return data
	def Load(self, buf) :
		self.seq = struct.unpack('I', buf[0:4])[0]; buf = buf[4:]
		self.result = struct.unpack('h', buf[0:2])[0]; buf = buf[2:]
		return buf
def UnregisterAckInit() :
	return UnregisterAck()
def UnregisterAckStore(o) :
	return o.Store()
def UnregisterAckLoad(buf) :
	val = UnregisterAck()
	buf = val.Load(buf)
	return [val, buf]
